package com.ls.controller.orderrecord.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ls.utils.PagingQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName QueryOrderRecordModel
 * @Description 查询订单充值记录分页列表model
 * @Author pengyu
 * @Date 2024/6/25 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class QueryOrderRecordModel extends PagingQuery{
    /**用户id*/
    private Long customerId;
    /**
     * 商户订单编号
     */
    private String orderNum;
    /**
     * 微信支付宝订单编号
     */
    private String thirdOrderNumber;
    /**
     * 产品类型
     */
    private Integer productType;
    /**
     * 套餐过期时间
     */
    private Integer period;
    /**
     * 支付类型
     */
    private Integer payType;
    /**
     * 订单状态
     */
    private Integer orderStatus;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 开始时间，选填
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String beginSt;

    /**
     * 结束时间，选填
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String endSt;
}
